package com.umgsai.aop.level5;

import org.aspectj.lang.JoinPoint;
import org.springframework.stereotype.Component;

import java.util.Arrays;

/**
 * Created by shangyidong on 17/6/29.
 */
@Component("validationAspect")
public class ValidationAspect {
    public void validateArgs(JoinPoint joinPoint) {
        System.out.println("validate:" + Arrays.asList(joinPoint.getArgs()));
    }
}
